package com.example.home.Dao;

import com.example.home.Entities.Student;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface StudentRepository extends CrudRepository<Student,Integer> {

    @Override
    List<Student> findAll();

}
